package com.bgs.eat.commodity.service.impl;

import com.bgs.eat.commodity.entity.CommodityOrderDistributionStatusEntity;
import com.bgs.eat.commodity.mapper.CommodityOrderDistributionStatusMapper;
import com.bgs.eat.commodity.service.CommodityOrderDistributionStatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName CommodityOrderDistributionStatusServiceImpl
 * @Description TODO
 * @Author G胖
 * @Date 2022-10-30 下午 08:10
 **/
@Service
public class CommodityOrderDistributionStatusServiceImpl implements CommodityOrderDistributionStatusService {

    @Resource
    CommodityOrderDistributionStatusMapper commodityOrderDistributionStatusMapper;

    /**
     * @Author gpd
     * @Description 查询所有的配送状态
     * @Date 2022-10-31 上午 09:47
     * @Return com.bgs.eat.config.CommonResult

     */
    @Override
    public List<CommodityOrderDistributionStatusEntity> getCommodityOrderDistributionStatus() {
        CommodityOrderDistributionStatusEntity commodityOrderDistributionStatusEntity = new CommodityOrderDistributionStatusEntity();
        return commodityOrderDistributionStatusMapper.select(commodityOrderDistributionStatusEntity);
    }
}
